/**
* Copyright (c) By zengqh.
*
* This program is just for fun or demo, in the hope that it  
* will be useful, you can redistribute it and/or modify freely.
*
* Time: 2012/07/16
* File: RenderWindow.cpp
* Blog: http://www.cnblogs.com/zengqh/
**/

#include "RenderWindow.h"

RenderWindow::RenderWindow()
{

}

RenderWindow::~RenderWindow()
{

}

const std::string& RenderWindow::getName() const
{
	return _caption;
}

void RenderWindow::setName(const std::string& name)
{
	_caption = name;
}

s32 RenderWindow::getWidth() const
{
	return _dimension._width;
}

s32 RenderWindow::getHeight() const
{
	return _dimension._height;
}

s32 RenderWindow::getColorDepth() const
{
	return _depth_value;
}

void RenderWindow::setDimension(const Dimension2Du& dimension)
{
	_dimension = dimension;
}

u32 RenderWindow::getWidnowID() const
{
	return _window_id;
}

void RenderWindow::addRenderTargetListener(RenderTargetListener* listener)
{
	_render_target_listener_list.push_back(listener);
}

void RenderWindow::bind()
{

}

void RenderWindow::unbind()
{

}